
@import "../../assets/styles/variables";

.dialogs {
  width: 312px;

  &-item {
    display: flex;
    width: 100%;
    height: max-content;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;

    &-title {
      font-size: 15px;
      font-weight: 300;
      opacity: 0.7;
    }

    &--noData {
      padding-top: 15px;
      width: 200px;
      height: 250px;
      background-image: url("../../assets/img/empty.svg");
      background-position: center;
      background-repeat: no-repeat;
      background-size: 80%;
    }

    &-search {
      padding: 20px 0 20px 0;
      opacity: 0.8;

      &-form {
        display: flex;
        align-items: center;
        padding: 1px 4px;
        box-shadow: 0 0 10px 3px rgb(0 0 0 / 4%);
        width: auto;
        background-color: $lightBlue;
        opacity: 0.9;
        border-radius: 4px;

        &-input {
          input {
            text-align: center;
          }

          margin-left: 1px;
          flex: 1;
          padding: 6px 11px 6px;
        }
        &-input::after {
          content: '';
          width: 20px;
          height: 20px;
          background-image: url("../../assets/img/search.svg");
          background-position: center;
          background-repeat: no-repeat;
          background-size: cover;
          opacity: 0.4;
        }
      }
    }
  }
}